Skip to main content

radioBehavior

Type

property

Summary

Specifies that only one radio button in a group can be highlighted at a time.

Syntax

set the radioBehavior of <group> to {true | false}

Description

Use the radioBehavior property to create a radio-button cluster.

If a group's radioBehavior property is set to true, highlighting any radio button in the group unhighlights any other radio buttons--that is, the buttons in the group behave like a radio-button cluster, with the options being mutually exclusive.

If the radioBehavior is false, highlighting a button does not affect the hilite property of other buttons in the group.

The radioBehavior property does not affect buttons whose style is not set to radioButton.

Examples

set the radioBehavior of last group to true

glossary: property, highlight, radio button, group

keyword: button

object: button

property: hilitedButtonName, tabGroupBehavior, style

command: hilite, group

function: selectedButton

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?